package com.bridgeintelligent.tag.webserver.dim.query.api;

import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by JackCheung on 2019/10/15 8:50 PM.
 */
@Getter
@Setter
@NoArgsConstructor
public class DataSetRsp {

    private int code;
    private DataRsp data;

    @Data
    public static class DataRsp {

        private String msg;
        private List<Map<String, String>> content;
        private Map<String, DimInfo> dims;
        private Integer totalPages;
        private Long totalElements;
        private Integer size;
    }

    @Data
    @NoArgsConstructor
    public static class DimInfo implements Serializable, Cloneable {

        //标签Id
        private String dimId;
        //标签名
        private String dimName;
        //标签类型
        private String dimType;
        //标签展示类型
        private String dimeShowType;
        //标签子类型
        private String classify;
    }

}
